<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;

        }
        body{
            background: pink;
        }
        .box{
            width: 300px;
            height: 300px;
            border: 10px solid red;
            margin: 50px auto;
            background: url("image/photo01.jpg");
            background-size: cover;
        /*    设置相框*/
            border-top: 10px solid yellow;
            border-left: 10px solid green;
            border-bottom: 10px solid blueviolet;
        /*    设置圆角边框*/
            border-radius: 5% 5% 0 0;
        /*    蛇者盒子阴影 : x轴偏移 y轴偏移 阴影半径 阴影颜色*/
            box-shadow: 5px 5px 5px gray;
        /*    过度*/
            transition: all 0.5s;
        }
    /*    绑定悬浮时间*/
        .box:hover{

        /*    旋转放大 css里面2****d*/


            transform: rotate(360deg);
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
</body>
</html>